package main

import (
	"flag"
	"fmt"
	"strings"
)

func main() {
	var sep string
	flag.StringVar(&sep, "s", " ", "seprator")
	var n bool
	flag.BoolVar(&n, "n", false, "omit trailing newline")
	flag.Parse()
	fmt.Print(strings.Join(flag.Args(), sep))

	if !n {
		fmt.Println()
	}
}
